package com.boomsecret.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelTarget;

import java.io.Serializable;

/**
 * Created by wangjinliang on 2018/1/10.
 */
@Data
@ExcelTarget("courseDomain")
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CourseDomain implements Serializable {

    @Excel(name = "课程名称", width = 25)
    private String name;

    @Excel(name = "教师名称", width = 25)
    private String teacherName;

    @Excel(name = "学生数量", width = 10)
    private int studentNumber;

    @Excel(name = "描述", width = 40)
    private String desc;
}
